WP_Defender\Component\Password_Protection A

Total Complexity 52
Dependencies 7
Dependents 3
Total lines 393
Lines of code 191
Logical lines of code 94
Comment lines 155
Methods 18
Properties 3

Methods 18

Method Rating Maintainability Complexity Lines of code
is_enabled_by_user_role()
S
54 6 22
check_pwned_password()
S
51 4 27
do_weak_reset()
S
61 4 12
do_force_reset()
S
61 4 12
hosting_compatibility()
S
60 4 11
is_weak_password()
S
64 4 10
get_submitted_password()
S
62 3 11
get_reset_password_redirect_url()
S
59 2 16
is_force_reset()
S
65 3 9
remove_extra_cookies()
S
64 3 8
reset_password_redirect()
S
65 3 9
password_last_changed()
S
64 3 10
check_expired_password()
S
78 2 3
remove_cookie_notice()
S
70 2 6
set_cookie_notice()
S
72 2 5
handle_password_updated()
S
79 1 3
trigger_redirect()
S
64 1 10
__construct()
S
68 1 7